package com.sa07.config;

import com.sa07.bean.User;

/**
 * 用户会话，单例(暂时先不做登录超时)
 * 
 * @author Long.shangbo
 *
 * 2014-2-21 下午9:47:47
 */
public enum LoginSession {
	INSTANCE;
	
	private User user = null;
	
	public void setUser(User user) {
		this.user = user;
	}
	
	public User getUser() {
		return user;
	}
	
	public void destroyUser(){
		this.user = null;
	}
}
